#pragma once
#include "TWindow.h"
#include "TTimer.h"
#include "TInput.h"

class TBasis2D : public TWindow
{
public:
	TTimer			m_Time;	
private:
	bool	TInit();
	bool	TFrame();
	bool	TRender();
	bool	TRelease();
public:
	virtual bool	Init();
	virtual bool	Frame();
	virtual bool	Render();
	virtual bool	Release();
	        LRESULT WndProc(	HWND m_hWnd, 
								UINT message, 
								WPARAM wParam, 
								LPARAM lParam);
	virtual LRESULT MsgProc(	HWND m_hWnd, 
								UINT message, 
								WPARAM wParam, 
								LPARAM lParam) 
	{
		return 0;
	};
	bool		Run();
public:
	TBasis2D(void);
	~TBasis2D(void);
};
